package com.example.singleton;

/**
 * 笨重的安全的懒加载
 */
public class Mgr03 {

    private static Mgr03 INSTANCE;

    private Mgr03() {
    }

    public static synchronized Mgr03 getInstance(){
        if (INSTANCE==null){
            INSTANCE=new Mgr03();
        }
        return INSTANCE;
    }


}
